package com.bdqn.t382.sz;

public class LogServiceImpl implements LogService {
     @Log
 public void testMethod1() {
      try {
         Thread.sleep(100); // 模拟方法执行时间
         } catch (InterruptedException e) {
         e.printStackTrace();
         }
      System.out.println("Executing testMethod1");
      }

     @Log
 public void testMethod2() {
         try {
         Thread.sleep(150); // 模拟方法执行时间
         } catch (InterruptedException e) {
         e.printStackTrace();
         }
         System.out.println("Executing testMethod2");
         }

     @Override
 public void testMethod3() {
      try {
         Thread.sleep(50); // 模拟方法执行时间
         } catch (InterruptedException e) {
         e.printStackTrace();
         }
      System.out.println("Executing testMethod3");
      }
}
